package com.sdgs.paas.sdk.core.stream;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.sdgs.paas.sdk.core.log.PaasLogger;

/**
 * SDK STREAM功能自动配置
 *
 * @author wjj
 */
@Configuration
@ConditionalOnClass({ PaasStreamService.class })
//@EnableConfigurationProperties(CtgMqConfig.class)
public class PaasStreamAutoConfiguration {
	
	@Bean
	public PaasStreamService paasStreamService() {

		PaasStreamService paasStreamService = new PaasStreamService();

		PaasLogger.info("PaasStreamService创建成功!");

		return paasStreamService;
	}

}
